package com.whut.monitor.service;

import java.util.List;

import com.whut.monitor.vo.Tree;
import com.whut.monitor.model.CompensatorEquipmentEntity;
import com.whut.monitor.vo.CompensatorEquipmentVo;
import com.whut.monitor.vo.PageFilter;

/**
 * @author CFlower
 * 2017/4/5
 * 补偿器设备关联服务层接口
 */
public interface ICompensatorEquipmentService {

    List<CompensatorEquipmentVo> dataGrid(CompensatorEquipmentVo compenEqu, PageFilter ph);

    Long count(CompensatorEquipmentVo equip, PageFilter ph);

    void add(CompensatorEquipmentVo equip);

    void delete(Integer id);

    void edit(CompensatorEquipmentVo equip);

    List<Tree> tree();

    List<CompensatorEquipmentEntity> getCompeansatorByEquip(Integer equipmentId);
}
